home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / LIBRARY / TSPA3470 / TSUNTBOT.INT < prev    next >
Text File  |  1994-08-16  |  2KB  |  56 lines

  1. {$B-,D-,F-,I+,N-,R-,S+,V+}
  2.  
  3. (*
  4. Timo Salmi UNiT BOoT
  5. A Turbo Pascal unit for rebooting
  6. All rights reserved 26-Jul-93
  7.  
  8. This unit may be used and distributed freely for PRIVATE, NON-COMMERCIAL,
  9. NON-INSTITUTIONAL purposes, provided it is not changed in any way, and
  10. that a proper attribution is made. For ANY other usage, such as use in a
  11. business enterprise or at a university, contact the author for the terms
  12. of registration.
  13.  
  14. The units are under development. Comments and contacts are solicited. If
  15. you have any questions, please do not hesitate to use electronic mail for
  16. communication.
  17. InterNet address: ts@uwasa.fi
  18.  
  19. The author shall not be liable to the user for any direct, indirect or
  20. consequential loss arising from the use of, or inability to use, any unit,
  21. program or file howsoever caused. No warranty is given that the units and
  22. programs will work under all circumstances.
  23.  
  24. Timo Salmi
  25. Professor of Accounting and Business Finance
  26. Faculty of Accounting & Industrial Management; University of Vaasa
  27. P.O. BOX 297, FIN-65101 Vaasa, Finland
  28. *)
  29.  
  30. unit TSUNTBOT;
  31.  
  32. (* ======================================================================= *)
  33.                           interface
  34. (* ======================================================================= *)
  35.  
  36. uses Dos,
  37.      TSUNTH;  (* For internal processor type testing *)
  38.  
  39. (* =======================================================================
  40.                            Reboot
  41.    ======================================================================= *)
  42.  
  43. (* Reboot the computer without memory tests. Resembles alt-ctrl-del.
  44.    Inline coded. Use judiciously *)
  45. procedure WARMBOOT;
  46.  
  47. (* Reboot the computer with memory tests. Inline coded. Use judiciously *)
  48. procedure COLDBOOT;
  49.  
  50. (* Reboot the computer with file closing and cache flushing. Should
  51.    thus be more secure than WARMBOOT and COLDBOOT, but no guarantees
  52.    here either. REBOOT has many times more code than the other two
  53.    boots. For a cold reboot set argument warm to false *)
  54. procedure REBOOT (warm : boolean);
  55.  
  56.